<?php
session_start();
if (count($misel)==0) $misel=array();
$val=$idparent."*179*4";
$sel=implode("/",$misel);
if (!strstr($sel,$idparent)) {
    array_push($misel,$val);
    session_register('misel');
}
//print_r($misel);
$go=$basedir."/RenderEdit/editnew.php?idvista=163&idap=2";
header("location: ".$go);
?>
